package com.example.lin.http;

import org.junit.jupiter.api.Test;
import org.springframework.http.HttpMethod;
import org.springframework.http.client.SimpleClientHttpRequestFactory;
import org.springframework.web.client.RestTemplate;

/**
 * @className: GeminiConfirm
 * @description:
 * @author: Lin.Gu
 * @date: 2025/6/27
 */
public class GeminiConfirm {


    @Test
    public void sendInfo() {

        RestTemplate restTemplate = RestTemplateProxy.getRestTemplate();

        String url = "https://static.orangeconnex.com/aquarius/trace/REQUEST_BODY/20250623/5396426LAX06222500000051_ConfirmShipmentToGA.txt";

        String result = restTemplate.getForObject(url,String.class);
        System.out.println(result);

    }

}
